package java19_4_19.com.thread.about_attributes;

import java.util.concurrent.TimeUnit;

public class Main {
    public static void main(String[] args) throws InterruptedException {
        Thread.currentThread().setName("我是主线程");
        while(true) {
            TimeUnit.SECONDS.sleep(1);
            System.out.println("你好");
        }
    }
}
